﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <%set (string){category_title}=get_category_title({model.category_id},"产品销售")%>
    <title>{model.title} - {category_title} - {config.webname}</title>
    <meta content="{model.seo_keywords}" name="keywords">
    <meta content="{model.seo_description}" name="description">
    <link href="{config.templateskin}/images/style.css" type="text/css" rel="stylesheet">
    <link href="{config.templateskin}/images/css.css" type="text/css" rel="stylesheet">
</head>
<body>
    <!--Header-->
    <%template src=/_top.html/%>
    <!--/Header-->
    <div class="blank10 clear">
    </div>
    <!--面包屑-->
    <div class="newsmain4">
        <%set (string){category_nav}=get_category_menu("goods_list1", model.category_id)%>
        <div class="left">
            您当前位置：<a href="<%linkurl("index","")%>">首页 </a>&gt;<a href="<%linkurl("goods","")%>">产品销售</a>{category_nav}
        </div>
        <div class="right">
        </div>
    </div>
    <!--/面包屑-->
    <!--主体内容-->
    <div class="photomain3">
        <div class="left">
            <div class="left01">
                <div class="tit">
                    产品分类
                </div>
                <div class="left01box">
                    <ul class="navbar">
                        <%set (DataTable){category_list2}=get_category_child_list(channel_id, 0)%>
                        <%loop cdr2 category_list2%>
                        <li>
                            <h4>
                                <a href="<%linkurl("goods_list",{cdr2[id]})%>">{cdr2[title]}</a></h4>
                            <div class="list">
                                <%set (DataTable){category_list21}=get_category_child_list(channel_id, {strtoint({cdr2[id]})})%>
                                <%loop cdr21 category_list21%>
                                <a href="<%linkurl("goods_list",{cdr21[id]})%>">{cdr21[title]}</a>
                                <%/loop%>
                            </div>
                        </li>
                        <%/loop%>
                    </ul>
                </div>
                <div class="bot">
                </div>
            </div>
            <div class="blank10 clear">
            </div>
            <div class="left01">
                <div class="tit">
                    精品推荐</div>
                <div style="border-left: #E6E6E6 1px solid; border-right: #E6E6E6 1px solid;">
                    <div class="focus_list">
                        <ul>
                            <%set (DataTable){redgoods}=get_goods_list(channel_id, 0, 9, "is_red=1 and img_url<>''")%>
                            <%loop reddr redgoods%>
                            <li><a title="{reddr[title]}" href="<%linkurl("goods_show",{reddr[id]})%>">
                                <img src="{reddr[img_url]}" width="100" height="100" alt="{reddr[title]}" />
                                <span>
                                    <%cutstring({reddr[title]},5)%></span> </a></li>
                            <%/loop%>
                        </ul>
                        <div class="clear">
                        </div>
                    </div>
                </div>
                <div class="bot">
                </div>
            </div>
        </div>
        <div class="right">
            <div class="tit">
                产品详情</div>
            <div class="rightbox">
                <%if model.albums!=null%>
                <%loop (DTcms.Model.article_albums) modelt1 model.albums%>
                <%if modelt1__loop__id==1%>
                <div style="width: 500px; margin: 20px auto;">
                    <img src="{modelt1.big_img}" width="500px" style="border: none;" /></div>
                <%/if%>
                <%/loop%>
                <%/if%>
                <table style="width: 600px; margin: 0px auto;" class="cls_table_product_content">
                    <tr>
                        <td style="width: 100px;">
                            商品名称：
                        </td>
                        <td>
                            {model.title}
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 100px;">
                            介绍：
                        </td>
                        <td>
                            <%write DTcms.Common.Utils.DropHTML({model.content})%>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div class="clear">
        </div>
    </div>
    <!--/主体内容-->
    <!--Footer-->
    <%template src=/_bottom.html/%>
    <!--/Footer-->
</body>
</html>
